import createRoute from '../../lib/route'

let returnBike = createRoute('')
returnBike.path = 'returnBike'
returnBike.component = r => require.ensure([], () => r(require('./page.vue')), 'returnBike')

let rbList = createRoute('開關鎖及臨時停車')
rbList.path = ''
rbList.component = r => require.ensure([], () => r(require('./rbList.vue')), 'rbList')

let parkingRule = createRoute('停車規則說明')
parkingRule.path = 'parkingRule'
parkingRule.component = r => require.ensure([], () => r(require('./components/parkingRule.vue')), 'parkingRule')

let operationRegion = createRoute('運營區域')
operationRegion.path = 'operationRegion'
operationRegion.component = r => require.ensure([], () => r(require('./components/operationRegion.vue')), 'operationRegion')

let UnableToBike = createRoute('無法還車，怎麼處理？')
UnableToBike.path = 'UnableToBike'
UnableToBike.component = r => require.ensure([], () => r(require('./components/UnableToBike.vue')), 'UnableToBike')

returnBike.addChild(rbList).addChild(parkingRule).addChild(operationRegion).addChild(UnableToBike)
export default returnBike
